#ifndef __all_h
#define	__all_h


#include "main.h"


extern struct _tmf8801 tmf8801Data;


extern unsigned int  t3_1ms_count;

//extern unsigned char flag_ledbuz;


extern uint8_t calibrationbuf[14] ;

//----------------------------------------------------
extern CHAR_VAL  senser;
#define Err_sens1    	senser.bits.b0
#define Err_sens2		senser.bits.b1
#define Err_sens3		senser.bits.b2
#define Err_sens4       senser.bits.b3


#define selfing 		senser.bits.b7
//-----------------------------------------------------
extern   CHAR_VAL  outdata;
#define	 	outSts1			outdata.bits.b0
#define	 	outSts2			outdata.bits.b1
#define	 	outSts3			outdata.bits.b2
#define	 	outSts4			outdata.bits.b3

#define	 	outSts5			outdata.bits.b4
#define	 	outSts6			outdata.bits.b5
#define	 	outSts7			outdata.bits.b6
#define	 	outSts8			outdata.bits.b7

extern unsigned char uart2_rev_ok;



extern  unsigned long stopMode_time;

extern unsigned int ms100;

#endif 				  

